<?php
// +----------------------------------------------------------------------------
// | Tke团队版权所属 [三十年河东三十年河西,莫欺少年穷.!]
// +----------------------------------------------------------------------------
// | Copyright (c) 2014 http://www.itdaodan.com All rights reserved.
// +----------------------------------------------------------------------------
// | Author: PHP@妖孽 <dino_ma@163.com>
// +----------------------------------------------------------------------------
/**
 *@todo 客户模型
 +------------------------------------------------------------------------------
 * @version   1.0
 * @since 2015-7-13
 +------------------------------------------------------------------------------
 */
namespace Admin\Model;
use Think\Model\ViewModel;
class CustomerViewModel extends ViewModel{
	
	public $viewFields = array(
			'customer'=>array('customer_id'),
			/* 'ConsumerDetail'=>array('consumer_name', '_on'=>'Consumer.consumer_id=ConsumerDetail.consumer_id'), */
			'order'=>array('*','_as'=>'iweb_order', '_on'=>'customer.customer_id=iweb_order.customer_id'),
	//		'member'=>array('login_name'=>'marking_login_name', '_on'=>'activity_detail.marking_user=detail_member.uid','_as'=>'detail_member'),
	);
}